<?php
error_reporting(E_ALL);

require_once('classes/Mysql.class.php');
require_once('classes/Session.class.php');
require_once('classes/Timer.class.php');
require_once('classes/Account.class.php');
require_once('classes/Savant3.php');

if(isset($_GET['ajax']))
{
	include_once('ajax.php');
	exit;
}

$_timer = new Timer;
$_mySession = new Session;
$db = new Mysql('livehbbeh', 'password', 'livehbbeh', 'mysql.mac-fun.com', 3306, ((isset($_GET['debug'])) ? 1 : 0));

if(isset($_mySession->session['acct'])) {
	$acct =& $_mySession->session['acct'];
} else {
	$acct = new Account();
	$_mySession->add_item($acct, 'acct');
}

$theme = Theme::new();
$tpl =& $theme->tpl();
?>